<template>
  <div>
    <el-row class="box">
      <el-col :span="8" v-for="(o, index) in 5" :key="o" :offset="index > 0 ? 2 : 0">
        <el-card :body-style="{ padding: '0px' }">
          <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
            class="image">
          <div style="padding: 14px;">
            <span>汇源饮用水..........</span>
            <div class="bottom clearfix">
              <span class="price">¥24</span>
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.time {
  font-size: 13px;
  color: #999;
}

.bottom {
  margin-top: 13px;
  line-height: 12px;
}

.button {
  padding: 0;
  float: right;
}

.image {
  width: 100%;
  display: block;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}
.el-col-offset-2 {
  margin-left: 0.6rem;
}
.el-col-offset-0 {
  margin-left: 0.6rem;
}
.el-card {
  border-radius: 0.8rem;
}
.el-col {
  width: 45%;
}
.el-row {
  margin-bottom: 3.5rem;
  padding-left: 0.7rem;
}
.price {
  color: red;
}
</style>